//
//  NewsItemViewController.h
//  KG
//
//  Created by Eugene Braginets on 24.03.12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
@class NewsItem;
@class bannerView;

@interface NewsItemViewController : UIViewController <UIWebViewDelegate>
- (IBAction)likeButton:(id)sender;

@property (strong, nonatomic) bannerView* bannerViewController;
@property (strong, nonatomic) NewsItem*  itemNews;
@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *activityIndicator;
@property (strong, nonatomic) IBOutlet UIWebView *webView;
@property (strong, nonatomic) NSString* itemNewsName;
@property (strong, nonatomic) NSTimer* timer;

- (IBAction)didSwypedLeft:(UISwipeGestureRecognizer *)sender;
- (IBAction)didSwypedRight:(UISwipeGestureRecognizer *)sender;

@property BOOL loaded;
- (id)initWithItemNews:(NSString *)itemNewsPassed;
- (void) reload:(NSNotification*) notify;

@end
